package com.ctshk.rpc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户收藏表
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_collection")
@ApiModel(value="用户收藏表")
public class UserCollection extends BaseEntity {

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="类型,从SystemBusinessType类取值，1.2旅行团 6.7自由行 8.酒店 9.机票 10.火车票 11.船票 12.巴士票 13.机场快线 14.景点门票 15.当地玩乐 18.商品")
    private Integer type;

    @ApiModelProperty(value="标题")
    private String title;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="币种id")
    private Long currencyId;

    @ApiModelProperty(value="币种")
    private String currency;

    @ApiModelProperty(value="金额")
    private BigDecimal price;

    @ApiModelProperty(value="封面地址")
    private String coverUrl;

    @ApiModelProperty(value="跳转地址")
    private String jumpUrl;

    @ApiModelProperty(value="星级")
    private Integer starLevel;

    @ApiModelProperty(value="创建人")
    private Long createId;

    @ApiModelProperty(value="修改人")
    private Long modifiedId;

    @ApiModelProperty(value="删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value="详情id")
    private Long detailId;
}